package com.sgzn.sgpay.enums;

import lombok.Getter;

/**
 * 响应结果枚举
 * @author huangsenguang
 * @version Id: RespResultEnum.java, v 0.1 2018/7/29 13:59 huangsenguang Exp $$
 */
public enum RespResultEnum {

    SUCCESS("1", "成功"),
    FAIL("0", "失败");

    @Getter
    private String code;

    @Getter
    private String desc;

    private RespResultEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}

